.PHONY:all
all:parser searcher httpServer

parser:parser.cxx
	g++ -o $@ $^ -std=c++11 -lboost_system -lboost_filesystem -ljsoncpp

searcher:searcher.cxx
	g++ -o $@ $^ -std=c++11 -lboost_system -lboost_filesystem -ljsoncpp

httpServer:httpServer.cxx
	g++ -o $@ $^ -std=c++11 -lpthread -ljsoncpp

.PHONY:clean
clean:
	rm -rf parser searcher httpServer